import request from '../Utils/request'

export function GetShop(data){
    return request.get(`/Shops`,{data:data});
}

//修改状态
export function PutStatus(data){
    return request.put(`/Shops/status`,data)
}
//更新商家
export function PutShop(id,data){
    return request.put(`/Shops/${id}`,data)
}

//伪删除供应商
export function DeleteShop(id){
    return request.delete(`/shops/${id}`)
}
//添加商家
export function addShop(data){
    return request.post(`/shops`,data)
}